package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 training
 * 
 * @author ruoyi
 * @date 2025-05-06
 */
public class Training extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Integer deptName;

    /**  */
    @Excel(name = "")
    private String empName;

    /**  */
    @Excel(name = "")
    private Long type;

    /**  */
    @Excel(name = "")
    private String reason;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDateTime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDateTime;

    /**  */
    @Excel(name = "")
    private String remarks;

    private String realname;

    private String dept;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;


    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptName(Integer deptName)
    {
        this.deptName = deptName;
    }

    public Integer getDeptName()
    {
        return deptName;
    }

    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setStartDateTime(Date startDateTime) 
    {
        this.startDateTime = startDateTime;
    }

    public Date getStartDateTime() 
    {
        return startDateTime;
    }

    public void setEndDateTime(Date endDateTime) 
    {
        this.endDateTime = endDateTime;
    }

    public Date getEndDateTime() 
    {
        return endDateTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptName", getDeptName())
            .append("empName", getEmpName())
            .append("type", getType())
            .append("reason", getReason())
            .append("startDateTime", getStartDateTime())
            .append("endDateTime", getEndDateTime())
            .append("remarks", getRemarks())
            .append("userId", getUserId())
            .toString();
    }
}
